﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace LibraryONTrack.Persistence.DataMappers
{
	interface IDataMapper
	{
		// Main method that populates dto with data
		Object GetData(IDataReader reader);

		// Gets the num results returned. Needed for data paging.
		int GetRecordCount(IDataReader reader);

		Object GetInstance();
	}
}
